package com.crm.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "BusinessDto", description = "商机数据传输对象")
public class ClueDto {

    @ApiModelProperty(value = "转为伪线索原因", example = "null")
    private String reason;

    @ApiModelProperty(value = "转为伪线索备注", example = "null")
    private String remark;

    @ApiModelProperty(value = "页码")
    private Integer pageNum;

    @ApiModelProperty(value = "每页大小")
    private Integer pageSize;

    @ApiModelProperty(value = "创建人", example = "admin")
    private String createBy;

    @ApiModelProperty(value = "创建时间", example = "2024-08-08 15:22:06")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人", example = "null")
    private String updateBy;

    @ApiModelProperty(value = "更新时间", example = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "ID", example = "9131")
    private Long id;

    @ApiModelProperty(value = "姓名", example = "null")
    private String name;

    @ApiModelProperty(value = "电话", example = "13699565855")
    private String phone;

    @ApiModelProperty(value = "渠道", example = "0")
    private String channel;

    @ApiModelProperty(value = "活动ID", example = "null")
    private Long activityId;

    @ApiModelProperty(value = "活动名称", example = "null")
    private String activityName;

    @ApiModelProperty(value = "活动信息", example = "null")
    private String activityInfo;

    @ApiModelProperty(value = "性别", example = "0")
    private String sex;

    @ApiModelProperty(value = "年龄", example = "null")
    private Integer age;

    @ApiModelProperty(value = "微信", example = "null")
    private String weixin;

    @ApiModelProperty(value = "QQ", example = "null")
    private String qq;

    @ApiModelProperty(value = "等级", example = "null")
    private String level;

    @ApiModelProperty(value = "科目", example = "null")
    private String subject;

    @ApiModelProperty(value = "状态", example = "1")
    private String status;

    @ApiModelProperty(value = "分配人", example = "admin")
    private String assignBy;

    @ApiModelProperty(value = "分配时间", example = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime assignTime;

    @ApiModelProperty(value = "负责人", example = "shangji2")
    private String owner;

    @ApiModelProperty(value = "负责人时间", example = "2024-08-08 16:43:44")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ownerTime;

    @ApiModelProperty(value = "无效次数", example = "0")
    private Integer falseCount;

    @ApiModelProperty(value = "下次联系时间", example = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime nextTime;

    @ApiModelProperty(value = "结束时间", example = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "用户ID", example = "null")
    private Long userId;

    @ApiModelProperty(value = "转接", example = "null")
    private String transfer;
}

